package gat.domain.service.dic.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.bitsun.core.common.persistence.BasePService;
import com.bitsun.core.common.persistence.IPService;

import gat.convertor.dic.DicTypeReqDtoConvertor;
import gat.convertor.dic.DicTypeResDtoConvertor;
import gat.domain.service.dic.DicTypeDomainService;
import gat.infrastructure.persistence.dao.dic.DicTypeMapper;
import gat.infrastructure.persistence.po.dic.DicTypePo;
import lombok.extern.slf4j.Slf4j;

/**
 * @Author: Felix Woo （junfengwstar@gmail.com）
 * @Date: 2019-09-20 19:40
 * @Version: 1.0
 * @Description:
 */
@Slf4j
@Service("dicTypeDomainService")
public class DicTypeDomainServiceImpl implements DicTypeDomainService {

    @Autowired
    private DicTypeReqDtoConvertor dicTypeReqDtoConvertor;

    @Autowired
    private DicTypeResDtoConvertor dicTypeResDtoConvertor;

    private IPService<DicTypePo> dicTypePoService;

    @SuppressWarnings("SpringJavaAutowiringInspection")
    public DicTypeDomainServiceImpl(DicTypeMapper dicTypeMapper) {
        this.dicTypePoService = new BasePService(dicTypeMapper);
    }
}